package com.lmt_1;

public class SingleType {
    private static SingleType single = null;
    private String name;
    private SingleType(){
    }
    public static SingleType getF(){
        if (single == null){
            single = new SingleType();
        }
        return single;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
